const envConfig = function (key) {
  if (
    window.vueConfig &&
    window.vueConfig[key] !== "" &&
    window.vueConfig[key] !== null &&
    window.vueConfig[key] !== undefined
  ) {
    return window.vueConfig[key];
  }
  return import.meta.env[key];
};
export default envConfig;
